home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / clang / netclb23.zip / WSTATION.H < prev   
C/C++ Source or Header  |  1994-05-20  |  1KB  |  46 lines

  1. #ifndef WSTATION_H
  2. #define WSTATION_H
  3.  
  4. /***********************************/
  5. /* Workstation Services prototypes */
  6. /***********************************/
  7.  
  8. typedef struct {
  9.    byte    slot_in_use;
  10.    byte    servers_order_number;
  11.    byte    servers_network_number[4];
  12.    byte    physical_node_address[6];
  13.    nw_int  socket_number;
  14.    word    receive_timeout;
  15.    byte    routers_physical_node_address[6];
  16.    byte    packet_sequence_number;
  17.    byte    connection_number;
  18.    byte    connection_status;
  19.    word    maximum_time_out;
  20.    word    connection_word;
  21.    byte    major_server_version;
  22.    byte    server_flags;
  23.    byte    minor_server_version;
  24.    } CONNECTION_ID_TABLE;          /* GetConnectionIDTable */
  25.  
  26. void EndOfJob(void);
  27. int GetConnectionIDTable(CONNECTION_ID_TABLE *table);
  28. int GetDefaultConnectionID(void);
  29. void GetDriveConnectionID(char *table);
  30. void GetDriveFlagTable(char *table);
  31. void GetDriveHandleTable(char *table);
  32. void GetFileServerTable(char *table);
  33. void GetNetwareShellVersion(char *shellInfo,byte *majorVersion,
  34.       byte *minorVersion,byte *revisionLevel);
  35. int GetNumberOfLocalDrives(void);
  36. int GetPreferredConnectionID(void);
  37. int GetPrimaryConnectionID(void);
  38. int GetServerConnectionID(char *serverName,int *connectionID);
  39. int IsShellLoaded(void);
  40. int SetEndofJobStatus(int NewStatus);
  41. int SetNWErrorMode(int NewMode);
  42. void SetPreferredConnectionID(int connection_id);
  43. void SetPrimaryConnectionID(int connection_id);
  44.  
  45. #endif
  46.